package com.example.demo.singleton;

public class Singleton1 {

    private Singleton1() {}

    private static Singleton1 instance = new Singleton1();

    public static Singleton1 getInstance(){
        return instance;
    }

}
